<?php
if( !APP_ROOT  )
    return 'Direct Access Deny!';

$router = new \Phalcon\Mvc\Router( false );

$router->removeExtraSlashes( true );


$router->add('/:module/:controller/:action/:params', array(
		'module' => 1,
		'controller' => 2,
		'action' => 3,
		'params' => 4
));

// url router
$router->setDefaultModule( 'fzq' );
$router->setDefaultController( 'index' );
$router->setDefaultAction( 'index' );

?>
